package com.wn.mapper;

import com.wn.ov.NurseRecordOv;
import com.wn.pojo.NurseRecord;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface NurseRecordMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(NurseRecord record);

    int insertSelective(NurseRecord record);

    NurseRecord selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(NurseRecord record);

    int updateByPrimaryKey(NurseRecord record);

    //根据护士id查询护理记录
    List<NurseRecordOv> getListByNurseId(NurseRecord nurseRecord);

    //高级检索
    List<NurseRecordOv> superSearch(@Param("superSearchKeyWord") String superSearchKeyWord,@Param("id")Integer id);
}